package com.bl.weilan.service.vo.news;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import javax.persistence.Column;
import javax.persistence.Id;
@Data
@ApiModel(value="修改新闻信息", description="修改新闻信息body", discriminator = "修改新闻信息body")

public class NewsModVo {

    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "链接")
    private String url;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "权重")
    private int weight;
}
